const express = require('express');
const router = express.Router();

router.get('/forPdiOrder', (req, res) => {
    const content = [];
    for(let i = 0; i < 10; i++)
        content.push({
            id: `2020${i}`,
            code: `2020${i}`,
            dealerCode: `dealerCode${i}`,
            dealerName: 'dealerName',
            status: 1,
            transportType: 1,
            vin: `vin${i}`
        });
    res.json({
        message: '',
        payload: {
            content,
            totalElements: 10,
        }
    });
});
router.get('/forKDClaim', (req, res) => {
    const content = [];
    for(let i = 0; i < 10; i++)
        content.push({
            id: `2020${i}`,
            code: `2020${i}`,
            dealerCode: `dealerCode${i}`,
            dealerName: 'dealerName',
            status: 1,
            transportType: 1,
            batchNumber: 'pcCode'
        });
    res.json({
        message: '',
        payload: {
            content,
            totalElements: 10,
        }
    });
});
module.exports = router;
